﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WSAP
{
    /// <summary>
    /// 绘图对象
    /// </summary>
    public enum StructureChartType
    {
        /// <summary>
        /// 模态分析
        /// </summary>
        Eigen = 1,

        /// <summary>
        /// 普通静态分析
        /// </summary>
        GeneralStatic = 2,

        /// <summary>
        /// 普通动态分析
        /// </summary>
        GeneralDynamic = 3,

        /// <summary>
        /// 楼板应力显示
        /// </summary>
        SlabOnly = 4,
    }

    /// <summary>
    /// 节点响应枚举
    /// </summary>
    public enum NodeResponseEnum
    {
        /// <summary>
        /// 位移响应
        /// </summary>
        Disp = 1,

        /// <summary>
        /// 速度响应
        /// </summary>
        Vel = 2,

        /// <summary>
        /// 加速度响应
        /// </summary>
        Accel = 3,

        /// <summary>
        /// 节点响应
        /// </summary>
        Reaction = 4,
    }

    /// <summary>
    /// 框架局部向量枚举
    /// </summary>
    public enum FrameLocalForceEnum
    {
        /// <summary>
        /// 轴力
        /// </summary>
        N = 0,

        /// <summary>
        /// 沿y轴方向剪力
        /// </summary>
        Vy = 1,

        /// <summary>
        /// 沿z轴方向剪力
        /// </summary>
        Vz = 2,

        /// <summary>
        /// 扭转
        /// </summary>
        T = 3,

        /// <summary>
        /// 绕y轴弯矩
        /// </summary>
        My = 4,

        /// <summary>
        /// 绕z轴弯矩
        /// </summary>
        Mz = 5,
    }

    /// <summary>
    /// 框架释放类型枚举
    /// </summary>
    public enum FrameReleaseEnum
    {
        /// <summary>
        /// 不释放
        /// </summary>
        NoRelease = 0,

        /// <summary>
        /// I端释放弯矩
        /// </summary>
        IRelease = 1,

        /// <summary>
        /// J端释放弯矩
        /// </summary>
        JRelease = 2,

        /// <summary>
        /// IJ均释放弯矩
        /// </summary>
        IJRelease = 3,
	};

    /// <summary>
    /// 单元力方式
    /// </summary>
    public enum ElementLoadEnum
    {
        /// <summary>
        /// 框架均布荷载
        /// </summary>
        FrameUniform = 101,

        /// <summary>
        /// 框架节点荷载
        /// </summary>
        FramePoint = 102,

        /// <summary>
        /// 框架通用局部荷载
        /// </summary>
        FrameGeneralPartial = 103,

        /// <summary>
        /// 框架三角形荷载
        /// </summary>
        FrameTriangular = 104,

        /// <summary>
        /// 框架梯形荷载
        /// </summary>
        FrameTrapezoid = 105,
	};

    /// <summary>
    /// 楼板边界条件
    /// </summary>
    public enum WSlabBoundCDT
    {
        /// <summary>
        /// 自由
        /// </summary>
        Free = 0,

        /// <summary>
        /// 固接
        /// </summary>
		Fixed = 1,

        /// <summary>
        /// 铰接
        /// </summary>
		Pin = 2
	};

    /// <summary>
    /// 壳单元内力
    /// </summary>
    public enum WSlabStressEnum
    {
        /// <summary>
        /// 绕X轴弯矩
        /// </summary>
        M11 = 0,

        /// <summary>
        /// 绕Y轴弯矩
        /// </summary>
        M22 = 1,

        /// <summary>
        /// 最大弯矩
        /// </summary>
        Mmax = 2,

        /// <summary>
        /// 最小弯矩
        /// </summary>
        Mmin = 3,
    };

    /// <summary>
    /// 楼板绘图
    /// </summary>
    public enum SlabChartEnum
    {
        /// <summary>
        /// 挠度
        /// </summary>
        Deflection = -1,

        /// <summary>
        /// 绕X轴弯矩
        /// </summary>
        M11 = 0,

        /// <summary>
        /// 绕Y轴弯矩
        /// </summary>
        M22 = 1,

        /// <summary>
        /// 最大弯矩
        /// </summary>
        Mmax = 2,

        /// <summary>
        /// 最小弯矩
        /// </summary>
        Mmin = 3,
    }
}
